uqmi: fix whitespace errors
authorDavid Bauer <[email protected]>
Wed, 28 Aug 2024 02:41:45 +0000 (04:41 +0200)
committerDavid Bauer <[email protected]>
Wed, 9 Jul 2025 12:51:37 +0000 (14:51 +0200)
Signed-off-by: David Bauer <[email protected]>
uqmi/commands-uim.c

index d4bf3f304da0c67ccbe71994719aa416d80a528f..ae8e0fd040d7edf7242613414877c725c1b30d4c 100644 (file)
@@ -195,6 +195,7 @@ cmd_uim_channel_id_prepare(struct qmi_dev *qmi, struct qmi_request *req, struct
 {
        char *err;
        int value = strtoul(arg, &err, 10);
+
        if ((err && *err) || value < 1 || value > 4) {
                uqmi_add_error("Invalid Channel-ID value. Allowed: [1,2,3,4]");
                return QMI_CMD_EXIT;
@@ -226,7 +227,7 @@ cmd_uim_open_logical_channel_prepare(struct qmi_dev *qmi, struct qmi_request *re
                QMI_INIT(slot, uim_slot),
                QMI_INIT_ARRAY(aid, aid, (strlen(arg) / 2)),
        };
-       
+
 
        if (!uim_slot) {
                uqmi_add_error("UIM-Slot not set");
@@ -255,7 +256,7 @@ cmd_uim_close_logical_channel_prepare(struct qmi_dev *qmi, struct qmi_request *r
        struct qmi_uim_logical_channel_request data = {
                QMI_INIT(slot, uim_slot),
                QMI_INIT(channel_id, channel_id),
-       };      
+       };
 
        if (!uim_slot) {
                uqmi_add_error("UIM-Slot not set. Use --uim-slot <slot> to set it.");
@@ -300,7 +301,6 @@ cmd_uim_send_apdu_prepare(struct qmi_dev *qmi, struct qmi_request *req, struct q
                QMI_INIT(channel_id, channel_id),
                QMI_INIT_ARRAY(apdu, apdu, (strlen(arg) / 2)),
        };
-       
 
        if (!uim_slot) {
                uqmi_add_error("UIM-Slot not set. Use --uim-slot <slot> to set it.");